Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create ui-components package #26

Merged
merged 2 commits into from
Jan 10, 2024
Merged

Conversation

jvmi7
Copy link
Collaborator

@jvmi7 jvmi7 commented Jan 10, 2024

Description

Boiler plate code to create the ui-components package. verified that building with vite works when starting up the bridge-app & test component loads nicely 💯

@jvmi7
Copy link
Collaborator Author

jvmi7 commented Jan 10, 2024

Current dependencies on/for this PR:

This stack of pull requests is managed by Graphite.

"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "vite build && tsc -p tsconfig.json",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

something to consider in the future. i ended up using tsup

"build": "tsup && pnpm tsc",
instead of just vite. felt like it gives more control and we could reuse it for backend packages

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

u think it's worth to change? i'm not too deep on what the difference is

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nah don't worry about it right now, something we can talk about as a team to decide what we want to do. The main difference atleast from what i noticed is tsup gives more control over the *.d.ts files that get generated. Once we add more components we can see both ways work.

Copy link
Collaborator

@nitaliano nitaliano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks great!

@jvmi7 jvmi7 merged commit 0afdc77 into main Jan 10, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants